const {src, dest, watch} = require("gulp");
const sass = require('gulp-sass')(require('sass'));

function buildStyles() {
    return src('./src/sass/index.scss')
            .pipe(sass().on('error', sass.logError))
            .pipe(dest('./dist/css2'));
};

exports.bs = buildStyles;

exports.watch = function () {
    watch('./src/sass/index.scss', buildStyles);
};
